package jge;

import java.awt.Font;

import org.newdawn.slick.Color;
import org.newdawn.slick.AngelCodeFont;


class Text {
    private AngelCodeFont font;
    
    private String text;
    
    private int x;
    private int y;
    
    public void init() {
        // some stuff here. Make sure to actually make a .fnt file first!
       
    }
    
    public Text(String texti, int xi, int yi) {
        this.text = texti;
        this.x = xi;
        this.y = yi;
    }
    
    public void draw() {
        font.drawString(x,y,text,Color.red);
    }
    
    public void setText(String newtext) {
        this.text = newtext;
    }
}